﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ADNDNetwork.Visitor
{
    /// <summary>
    /// This class will contain the logic to handle messages for the 
    /// adnd application
    /// </summary>
    public class MessageVisitor : AbstractMessageVisitor
    {
        /// <summary>
        /// Handle AdndMessages
        /// </summary>
        /// <param name="message"></param>
        public override void Visit(AdndMessage message)
        {
            System.Console.WriteLine("I am visiting a regular message");
        }

        /// <summary>
        /// Handle DiceRollRequests
        /// </summary>
        /// <param name="diceRollRequest"></param>
        public override void Visit(DiceRollRequest diceRollRequest)
        {
            System.Console.WriteLine("I am visiting a dice roll request");
        }
    }
}
